package com.liner.animal;

/**
 * Dog类
 */
public class Dog extends Animal{

    public Dog(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    void eat() {
        System.out.println(name + "在吃骨头...");
    }

    void lookHome(){
        System.out.println(name + "在看家...");
    }
}
